<?php
namespace app\home\model;

use think\Model;

class Slide extends Model
{

    public function getPreviewImageAttr()
    {

        return 'http://liuzhimao.test/storage/'.str_replace("\\","/",$this->image);
    }

}
